//
//  LoadingView.h
//  YD_RRT
//
//  Created by yonyou on 15/5/23.
//  Copyright (c) 2015年 zgq. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import <CoreGraphics/CoreGraphics.h>

#import "borgword_define.h"

@interface LoadingView : UIView
{
    BOOL isCancel;
}
+ (LoadingView *)sharedView;
@property(nonatomic,retain)UIActivityIndicatorView *activity;
@property(nonatomic,retain)UILabel *loadingLabel;
@property(nonatomic,assign)BOOL isloading;

-(void)dismissFromSupview;
-(void)loadingViewWithsuperView:(UIView*)superview;
-(void)loadingViewWithsuperViewToTop:(UIView*)superview;
-(void)loadingViewWithString:(NSString*)str superView:(UIView*)superview isCancel:(BOOL)isCa;
-(void)MessageViewWithString:(NSString*)str superView:(UIView*)superview isCancel:(BOOL)isCa;
@end
